import request from './request'

// 获取用户列表
export const getuserlist = (params) => {
  return request({
    url: '/getuserlist',
    method: 'GET',
    params
  })
}

// 新添/修改用户信息
export const setuserinfo = (data) => {
  return request({
    url: '/setuserinfo',
    method: 'POST',
    data
  })
}

// 删除用户信息
export const deluserinfo = (data) => {
  return request({
    url: '/deluserinfo',
    method: 'POST',
    data
  })
}
